package com.itheima.config;

import com.itheima.service.impl.UserServiceImpl;
import org.springframework.beans.factory.FactoryBean;

/**
 * @program: Spring_day02_01_注解_IoC注解
 * @description:
 * @author: zhanghz001
 * @create: 2020-11-28 10:39
 **/
public class UserFactoryBean implements FactoryBean {

    @Override
    public Object getObject() throws Exception {
        return new UserServiceImpl();
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }
}
